]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: remove global.screen
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Sun, 8 Jul 2018 15:39:45 +0000 (17:39 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Sun, 8 Jul 2018 15:43:15 +0000 (17:43 +0200)
This is disabled code for now, but let's have it fixed once we'll use it

js/ui/keyboard.js

index 8b1f021772b4d6bdc9a142b073a3befdd0f1b8d5..71b8f22dc3a8c14fd90b1cbe6efbe901e45a7857 100644 (file)
@@ -534,7 +534,7 @@ var Keyboard = new Lang.Class({
         Main.layoutManager.connect('monitors-changed', this._relayout.bind(this));
         //Main.inputMethod.connect('cursor-location-changed', (o, rect) => {
         //    if (this._keyboardVisible) {
-        //        let currentWindow = global.screen.get_display().focus_window;
+        //        let currentWindow = global.display.focus_window;
         //        this.setCursorLocation(currentWindow, rect.get_x(), rect.get_y(),
         //                               rect.get_width(), rect.get_height());
         //    }